package com.vlyman.demo.rtn;

import com.vlyman.rtn.consts.IBaseRtn;

/**
 * 类描述：
 *  个性化返回信息
 * @author chenjs
 * @date 2018/10/10 11:51
 **/
public enum DemoRtn implements IBaseRtn{
    /**
     */
    DEMO_NO_AUTH("暂无权限", 200000);

    private String msg;
    private int code;
    DemoRtn(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    @Override
    public int getCode() {
        return code;
    }
}
